<h1>Listing Document Categories</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Url</th>
  </tr>

<% for document_category in @document_categories %>
  <tr>
    <td><%=h document_category.name %></td>
    <td><%=h document_category.url %></td>
    <td><%= link_to 'Show', document_category %></td>
    <td><%= link_to 'Edit', edit_document_category_path(document_category) %></td>
    <td><%= link_to 'Destroy', document_category, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<div class="actions">
  <%= link_to 'New Document Category', new_document_category_path %>
</div>
